<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
  <title>校园跳蚤市场系统</title>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <link rel="stylesheet" type="text/css" href="/Public/Matrix/css/bootstrap.min.css" />
  <link rel="stylesheet" type="text/css" href="/Public/Matrix/css/bootstrap-responsive.min.css" />
  <link rel="stylesheet" type="text/css" href="/Public/Matrix/css/matrix-style.css" />
  <link rel="stylesheet" type="text/css" href="/Public/Matrix/css/matrix-table.css" />
  <link rel="stylesheet" type="text/css" href="/Public/Matrix/css/matrix-media.css" />
  <link rel="stylesheet" type="text/css" href="/Public/Plu/font-awesome-4.2.0/css/font-awesome.min.css" />
</head>
<body>
<!--Header-part-->
<div id="header">
  <h1><a href="#">校园跳蚤市场系统</a></h1>
</div>
<!--close-Header-part--> 
<!--top-Header-menu-->
<div id="user-nav" class="navbar navbar-inverse">
  <ul class="nav">
    <li  class="dropdown" id="profile-messages" ><a title="" href="#" data-toggle="dropdown" data-target="#profile-messages" class="dropdown-toggle"><span class="text">你好 <?php echo ((isset($user_info["username"]) && ($user_info["username"] !== ""))?($user_info["username"]):"未命名"); ?></span></a>
    </li>
    <li class="dropdown" id="menu-messages"><a href="/Index/loginout" data-toggle="dropdown" data-target="#menu-messages" class="dropdown-toggle"><span class="text">登出</span></a>
    </li>
  </ul>
</div>
<!--close-top-Header-menu-->
<!--sidebar-menu-->
<div id="sidebar"><a href="#" class="visible-phone"><i class="icon icon-home"></i> Dashboard</a>
  <ul>
    <li>
      <a href="/User/index"><i class="icon icon-th-list"></i><span>首页</span></a>
    </li>
    <?php if($user_info['userchadmin'] == 1): ?><li class="navi submenu">
      <a href="#"><i class="icon icon-th-list"></i><span>日常管理</span></a>
      <ul>
        <li><a href="/User/account">记账单</a></li>
        <li><a href="/User/service">维修单</a></li>
      </ul>
    </li>
    <li class="navi submenu"> 
      <a href="#"><i class="icon icon-th-list"></i><span>无限级分类</span></a>
      <ul>
        <li><a href="/Category/topcate">添加顶级分类</a></li>
        <li><a href="/Category/secate">添加二级,三级分类</a></li>
        <li><a href="/Category/catelist">分类模板测试</a></li>
      </ul>
    </li><?php endif; ?>
      <li class="navi submenu">
        <a href="#"><i class="icon icon-th-list"></i><span>个人中心</span></a>
        
          <ul>
            <li><a href="/User/babylist">宝贝列表</a></li>
            <li><a href="/User/addbaby">发布宝贝</a></li>
          </ul> 
      </li>
      <li>
      <a href="/Index/index"><i class="icon icon-th-list"></i><span>网站首页</span></a>
    </li>
  </ul>
</div>
<div id="content">
  <div class="container-fluid">
    <div class="quick-actions_homepage">
      <ul class="quick-actions">
        <li class="bg_lb"> <a href="/User/index"> <i class="icon-dashboard"></i>首页</a> </li>
        <li class="bg_lg span3"> <a href="/User/usercenter"> <i class="icon-signal"></i>用户中心</a> </li>
        <li class="bg_ly"> <a href="/User/usercode"> <i class="icon-inbox"></i>用户密码修改</a> </li>
        <li class="bg_lo"> <a href="/User/addbaby"> <i class="icon-th"></i>发布宝贝</a> </li>
        <li class="bg_ls"> <a href="/User/babylist"> <i class="icon-fullscreen"></i>宝贝列表</a> </li>
      </ul>
    </div>
  </div>
</div>
<script type="text/javascript" src="/Public/Matrix/js/jquery.min.js"></script>
<script type="text/javascript" src="/Public/Matrix/js/matrix.js"></script>
<div class="row-fluid">
  <div id="footer" class="span12"> 2014 &copy; am项目</div>
</div>
</body>
</html>